package com.school_admin.mapper;

import com.school_admin.entity.Message;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 
 * @since 2024-03-30
 */
@Mapper
public interface MessageMapper extends BaseMapper<Message> {
    @Insert("insert into sc_message(uid, sendUid, content,time) values(#{uid}, #{sendUid}, #{content},#{time})")
    void add(String uid, String sendUid, String content,String time);
}
